package com.dora.basic.basic;

import java.util.HashMap;
import java.util.Hashtable;
import java.util.LinkedHashMap;
import java.util.TreeMap;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentSkipListMap;

/**
 * 地图集合
 *
 * @author hanchen
 * @date 2025/02/05
 */
public class MapCollection {
    public static void main(String[] args) {

        TreeMap<String, String> treeMap = new TreeMap<>();

        ConcurrentSkipListMap<String, String> concurrentSkipListMap = new ConcurrentSkipListMap<>();


        Hashtable<String, String> hashtable = new Hashtable<>();

        HashMap<String, String> hashMap = new HashMap<>();

        LinkedHashMap<String,String> linkedList = new LinkedHashMap<>();

        ConcurrentHashMap<String, String> concurrentHashMap = new ConcurrentHashMap<>();


    }

    public static class person<T>{
        private T value;
    }

}
